@import "src/core/index.module";

.controls-content {
  display: flex;
  align-items: center;
  margin-left: 12px;
  flex-direction: row;
  width: 100%;

  .btn__now.active,
  .btn__now button {
    width: 60px;
    height: 40px;
    border: 1px solid $colors--neutral-4;
    background-color: transparent;
    margin-left: 8px;
    color: $colors--neutral-7;
    font-family: SourceSansPro-SemiBold;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.71;
    letter-spacing: 0.1px;
    border-radius: 4px;
    &:hover {
      background-color: $colors--white;
    }
  }

  .btn__now.disabled button {
    color: rgba($colors--neutral-7, 0.5);
  }

  .disabled {
    .icon {
      opacity: 0.4;
    }
  }

  :global(.ant-btn-group) {
    display: flex;
    flex-direction: row;
    ._action,
    ._action > button {
      margin-right: 0px;
      border-color: $colors--neutral-4;
      width: 40px;
      height: 40px;
      font-size: 21px;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;

      &:first-child {
        margin-left: 0px;
      }

      &:hover {
        background-color: $colors--white;
      }

      .anticon {
        color: $colors--neutral-5;
      }

      &.active {
        .anticon {
          color: $colors--primary-blue-3;
        }
      }
    }
  }
}
